From 634deea2211cd51ebdbdacaf857251c5f600f876 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 28 Jun 2010 21:25:49 +0000 Subject: [PATCH] Fix bogus CDATA encoding of description in KML tags. --- kml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kml.c b/kml.c index 8e41317b4..1ce8ff514 100644 --- a/kml.c +++ b/kml.c @@ -413,9 +413,9 @@ kml_write_xmle(const char *tag, const char *fmt, ...) if (strspn(tmp_ent, "&'<>\"")) needs_escaping = 1; gbfprintf(ofd, "<%s>", tag); - if (needs_escaping) gbfprintf(ofd, ""); gbfprintf(ofd, "\n", tag); xfree(tmp_ent); } -- 2.30.2